package com.activitycode.datamodel.model;

import java.io.Serializable;

import org.json.*;


public class DetailPetInfo implements Serializable{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = 8483497574734753839L;
	private String petName;
    private String sign;
    private String isEntrust;
    private String headImage;
    private String age;
    private String petCode;
    private String userId;
    private String petSex;
    private String cateName;
    private String fHybridization;
    private String petId;
    private String fAdopt;
    
    
	public DetailPetInfo () {
		
	}	
        
    public DetailPetInfo (JSONObject json) {
    
        this.petName = json.optString("pet_name");
        this.sign = json.optString("sign");
        this.isEntrust = json.optString("is_entrust");
        this.headImage = json.optString("head_image");
        this.age = json.optString("age");
        this.petCode = json.optString("pet_code");
        this.userId = json.optString("user_id");
        this.petSex = json.optString("pet_sex");
        this.cateName = json.optString("cate_name");
        this.fHybridization = json.optString("f_hybridization");
        this.petId = json.optString("pet_id");
        this.fAdopt = json.optString("f_adopt");

    }
    
    public String getPetName() {
        return this.petName;
    }

    public void setPetName(String petName) {
        this.petName = petName;
    }

    public String getSign() {
        return this.sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getIsEntrust() {
        return this.isEntrust;
    }

    public void setIsEntrust(String isEntrust) {
        this.isEntrust = isEntrust;
    }

    public String getHeadImage() {
        return this.headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getAge() {
        return this.age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPetCode() {
        return this.petCode;
    }

    public void setPetCode(String petCode) {
        this.petCode = petCode;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPetSex() {
        return this.petSex;
    }

    public void setPetSex(String petSex) {
        this.petSex = petSex;
    }

    public String getCateName() {
        return this.cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getFHybridization() {
        return this.fHybridization;
    }

    public void setFHybridization(String fHybridization) {
        this.fHybridization = fHybridization;
    }

    public String getPetId() {
        return this.petId;
    }

    public void setPetId(String petId) {
        this.petId = petId;
    }

    public String getFAdopt() {
        return this.fAdopt;
    }

    public void setFAdopt(String fAdopt) {
        this.fAdopt = fAdopt;
    }


    
}
